package nl.science.uva.pico.operator;

public class Stop extends Operator {

	/** 
	 * Stop ends the program 
	 * 
	 * @author Ivo van Dongen, Karel Pieterson
	 * @version 1.0
	 */
	public Stop() {
		super(null, null, null);
	}
	
	/** 
	 * Stop This instruction terminates the execution of the stack machine program.
	 * 
     *  
     */
	public void perform() {
		// NOP
		//
		// Stop ends the stack program, but not the interpreter. The reason for this is that the 
		// stack still needs to be printed, which is the responsibility of the interpreter
	}

}
